# -*- coding: utf-8 -*-
def log(text):
    def decorator(func):
        def wrapper(*args,**kw):
            print("%s call %s():" % (text,func.__name__))
            return func(*args,**kw)
        return wrapper
    return decorator
@log("我是log")
def now():
    print('now')

if __name__ == "__main__":
    now()